package com.reliable.api.param.session;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 会话IP详情分页查询参数
 */
@Data
@ApiModel(value = "会话IP详情分页查询参数")
public class SessionIpDetailPageParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 会话ID
     */
    @ApiModelProperty(value = "会话ID")
    private String sessionId;

    /**
     * IP地址或位置信息关键词
     */
    @ApiModelProperty(value = "IP地址或位置信息关键词")
    private String ip;

    /**
     * 城市
     */
    @ApiModelProperty(value = "城市")
    private String city;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private String startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    /**
     * 页码
     */
    @NotNull
    @ApiModelProperty(value = "页码", required = true)
    private Long pageNum;

    /**
     * 每页大小
     */
    @NotNull
    @ApiModelProperty(value = "每页大小", required = true)
    private Long pageSize;
}